package com.nanmeishu.services.tale.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

@TableName("tt_atlas_city_coord")
@ApiModel("地图坐标对象")
@Data
public class AtlasCityCoord {
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("ID (修改时不能为空)")
    private Integer id;
    @ApiModelProperty("名称")
    private String cityName;
    @ApiModelProperty("x坐标")
    private BigDecimal xNumber;
    @ApiModelProperty("y坐标")
    private BigDecimal yNumber;
    @ApiModelProperty("城市编号")
    private String cityCode;
    @ApiModelProperty("所属省id 0为省")
    private Integer parantId;
    @ApiModelProperty("备注")
    private String br;
    @ApiModelProperty("是否是省会 0:否 1: 是")
    private String focus;

}
